<template>
  <div class="error-page">
      <div class="error-code">
		  <img width="280" height="280" src="../../assets/noPermissions.png" />
	  </div>
      <div class="error-desc">登陆后才可以访问页面哦~</div>
      <div class="error-handle">
          <el-button type="primary" size="large" @click="toLogin">一键登录</el-button>
      </div>
  </div>
</template>

<script>
export default {
  methods: {
	  toLogin() {
	  		  this.$router.push('/login');
	  },
  }
}
</script>


<style scoped>
    .error-page{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
		margin-top:0.9375rem;
        width: 100%;
        height: 100%;
        background: #f3f3f3;
        box-sizing: border-box;
    }
    .error-code{
        line-height: 1;
        font-size: 250px;
        font-weight: bolder;
        color: #f02d2d;
    }
    .error-code span{
        color: #00a854;
    }
    .error-desc{
        font-size: 30px;
        color: #777;
    }
    .error-handle{
        margin-top: 30px;
        padding-bottom: 200px;
    }
</style>
